Clover coverage report - Enterprise Web Services - 1.0
Coverage timestamp: Mon May 30 2005 17:10:32 CEST
file stats: LOC: 44   Methods: 1
NCLOC: 12   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
WSCFContextImpl.java - 100% 100% 100%
coverage
 1   
 /*
 2   
  * Copyright 2001-2004 The Apache Software Foundation.
 3   
  * 
 4   
  * Licensed under the Apache License, Version 2.0 (the "License");
 5   
  * you may not use this file except in compliance with the License.
 6   
  * You may obtain a copy of the License at
 7   
  * 
 8   
  *      http://www.apache.org/licenses/LICENSE-2.0
 9   
  * 
 10   
  * Unless required by applicable law or agreed to in writing, software
 11   
  * distributed under the License is distributed on an "AS IS" BASIS,
 12   
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 13   
  * See the License for the specific language governing permissions and
 14   
  * limitations under the License.
 15   
  */
 16   
 package org.apache.geronimo.ews.ws4j2ee.context.webservices.server.xmlbeans;
 17   
 
 18   
 import org.apache.geronimo.ews.ws4j2ee.context.J2EEWebServiceContext;
 19   
 import org.apache.geronimo.ews.ws4j2ee.context.webservices.server.AbstractWSCFContext;
 20   
 import org.apache.geronimo.ews.ws4j2ee.context.webservices.server.WSCFException;
 21   
 import org.apache.geronimo.ews.ws4j2ee.context.webservices.server.interfaces.WSCFContext;
 22   
 import org.apache.geronimo.ews.ws4j2ee.context.webservices.server.interfaces.WSCFDocument;
 23   
 
 24   
 import java.io.InputStream;
 25   
 
 26   
 /**
 27   
  * This is the concrete implementation of the WSCFContext where the whole context of the
 28   
  * webservices.xml file will be published. The appropreate factory class will instanciate the class
 29   
  * and in the factory a inputstream to the webservices.xml will be requires. This is not the
 30   
  * starting point of the element tree, instead this s only giving an inteface
 31   
  * to the element tree which is rooted at WSCFDocument.
 32   
  */
 33   
 public class WSCFContextImpl extends AbstractWSCFContext implements WSCFContext {
 34   
     /**
 35   
      * The constructor that will create the element tree starting from the root element as WSCFDocument.
 36   
      *
 37   
      * @param document The document object to the webservices.xml
 38   
      * @throws WSCFException
 39   
      */
 40  13
     public WSCFContextImpl(InputStream in, J2EEWebServiceContext context) throws WSCFException {
 41  13
         this.document = (WSCFDocument) new WSCFDocumentImpl(in);
 42   
     }
 43   
 }
 44